package com.example.proyyj.Impl;

import com.example.proyyj.Entity.Building;
import com.example.proyyj.Entity.CollectionBuilding;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CollectionBuildingImpl {
    CollectionBuilding collectionBuilding(int UserId,int BuildingId);//查看建筑是否收藏
    int addBuilding(int UserId,int BuildingId);//收藏建筑
    int delBuilding(int UserId,int BuildingId);//取消建筑
    List<CollectionBuilding> lookBuildinglist(int UserId);//查看用户收藏
    Building  lookBuilding(int BuildingId );
}
